{{define "mobile/ordinary/riskRating.html"}}
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
	<meta name="format-detection" content="telephone=no">
	<title>心脑血管风险评级</title>
	<link rel="stylesheet" type="text/css" href="/res/mobile/css/weui.css"/>
	<link rel="stylesheet" type="text/css" href="/res/mobile/css/example.css"/>
	<link rel="stylesheet" type="text/css" href="/res/mobile/css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="/res/mobile/css/base.css?v=2" />
</head>
<body ontouchstart>
	<div  class="header">心脑血管风险评级</div>
	<div class="container" id="container">
		<div class="page flex js_show">
			<div class="page__bd" style="height: 100%;">
				<div class="weui-tab">
					<div class="weui-tab__panel">
						<div class="page__bd page__bd_spacing">
							<div class="_cut"></div>
							<div class="personal second-title">心脑血管风险评级</div>
							<div class="weui-flex">
								<div class="weui-flex__item">
									<div class="placeholder">高血压：</div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder " id="fengxianpingji_gaoxueya"></div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder">血脂异常：</div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder " id="fengxianpingji_xzyc"></div>
								</div>
							</div>
							<div class="weui-flex">
								<div class="weui-flex__item">
									<div class="placeholder">糖尿病：</div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder " id="fengxianpingji_tnb"></div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder">吸烟史：</div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder " id="fengxianpingji_xiyan"></div>
								</div>
							</div>
							<div class="weui-flex">
								<div>
									<div class="placeholder">房颤或瓣膜性心脏病：</div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder " id="fengxianpingji_fc"></div>
								</div>
							</div>
							<div class="weui-flex">
								<div class="">
									<div class="placeholder">明显超重或肥胖：</div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder " id="fengxianpingji_chaozhong"></div>
								</div>
							</div>
							<div class="weui-flex">
								<div class="">
									<div class="placeholder">运动缺乏：</div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder " id="fengxianpingji_yundong"></div>
								</div>
							</div>
							<div class="weui-flex">
								<div class="">
									<div class="placeholder">脑卒中家族史：</div>
								</div>
								<div class="weui-flex__item">
									<div class=" weui-ws_three " id="fengxianpingji_naocuzhong_family_history"></div>
									<div class=" weui-ws_three ">既往脑卒中：<span id="fengxianpingji_naocuzhong_history"></span></div>
									<div class=" weui-ws_three ">既往短暂性脑缺血发作(TIA)：<span id="fengxianpingji_TIA_history"></span></div>
								</div>
							</div>
							<div class="weui-flex">
								<div class="">
									<div class="placeholder">风险分级：</div>
								</div>
								<div class="weui-flex__item">
									<div class="placeholder p_red" id="risk_level"></div>
								</div>
							</div>
						</div>
						<div class="button-sp-area cell">
				          	<a onclick="history.back(-1);return false;" class="weui-btn_cell weui-btn_cell-default">返回</a>
				        </div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="/res/mobile/js/zepto.min.js"></script>
	<script type="text/javascript" src="/res/mobile/js/jweixin-1.0.0.js"></script>
	<script type="text/javascript" src="/res/mobile/js/weui.min.js"></script>
	<!-- <script type="text/javascript" src="/res/mobile/js/example.js"></script> -->
	<script type="text/javascript" src="/res/mobile/js/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" class="tabbar js_show">
		$(function(){
			//获取用户信息
			$.post("/mobile/ordinary/getUserData",{},function(r){
				if(r){
					if(r.code!=1){
						window.location.href="/mobile/ordinary/login"
					}else{
						var ccRiskRating = r.data["ccRiskRating"]
						if (ccRiskRating){
							$.each(ccRiskRating,function(i,v){
								$("#"+i).text(v);
							})
						}
					}
				}else{
					window.location.href="/mobile/ordinary/login"
				}
			})
		});
	</script>
</body>
</html>
{{end}}